Skip to content

feat(plugins): support text COPY#857

Open
levkk wants to merge 3 commits into
mainfrom
levkk-copy-plugin-routing
Open

feat(plugins): support text COPY#857
levkk wants to merge 3 commits into
mainfrom
levkk-copy-plugin-routing

Conversation

@levkk

@levkk levkk commented Mar 26, 2026

Copy link
Copy Markdown
Collaborator

Add support for routing COPY rows using plugins. Currently only COPY ... FORMAT text|csv is supported. Will add binary as a follow-up, it requires adding some helpers to parse the format to the plugin crate.

@codecov

codecov Bot commented Mar 26, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 51.39665% with 87 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pgdog-plugin/src/copy.rs 44.44% 55 Missing ⚠️
pgdog/src/frontend/router/parser/copy.rs 64.00% 18 Missing ⚠️
pgdog-plugin/src/plugin.rs 0.00% 12 Missing ⚠️
pgdog-macros/src/lib.rs 88.88% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant